package mill.components;

import java.util.Date;

public class Gear extends MillComponent{

	private int m_numberOfGear;
	
	public Gear(Date commisionDate, String manufacture, int numberOfGear) {
		super(commisionDate, manufacture);

		m_numberOfGear = numberOfGear;
	}

	public synchronized int get_numberOfGear() {
		return m_numberOfGear;
	}

	@Override
	public String toString()
	{
		return "Gear";
	}
}
